-- GENERATED SPELL FOR [Mux Manascrambler] --


function spell0_16014(pUnit, Event) --6Create Extra-Dimensional Ghost Revealer,n/a--
pUnit:FullCastSpellOnTarget(27754,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16014', 603, 1)
end

function Sorts_16014(pUnit, Event)
local choix_sorts_16014 = math.random(0, 0)
if choix_sorts_16014 == 0 then
pUnit:RegisterEvent('spell0_16014', 1, 1)
end
end

function mob16014_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16014', math.random(1500, 3000), 1)
end

function mob16014_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16014_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16014_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16014, 1, 'mob16014_Action')
RegisterUnitEvent(16014, 2, 'mob16014_Leave')
RegisterUnitEvent(16014, 3, 'mob16014_Kill')
RegisterUnitEvent(16014, 4, 'mob16014_Die')
